import 'package:oramemo/generated/json/base/json_convert_content.dart';
import 'package:oramemo/model/inline_object8.dart';

InlineObject8 $InlineObject8FromJson(Map<String, dynamic> json) {
  final InlineObject8 inlineObject8 = InlineObject8();
  final String? lang = jsonConvert.convert<String>(json['lang']);
  if (lang != null) {
    inlineObject8.lang = lang;
  }
  return inlineObject8;
}

Map<String, dynamic> $InlineObject8ToJson(InlineObject8 entity) {
  final Map<String, dynamic> data = <String, dynamic>{};
  data['lang'] = entity.lang;
  return data;
}

extension InlineObject8Extension on InlineObject8 {
  InlineObject8 copyWith({
    String? lang,
  }) {
    return InlineObject8()
      ..lang = lang ?? this.lang;
  }
}